package com.xiaoying.server.publish;

import java.util.concurrent.BlockingQueue;

import org.apache.commons.configuration.Configuration;

import com.xiaoying.server.publish.entity.FileInfo;
import com.xiaoying.server.publish.entity.UploadResult;

public interface Handler {
    
	public void init(Configuration config) throws Exception;
    /**
     * 
     * @param reqQ 认证请求队列
     * @param resQ 认证结果队列
     */
	public void handle(BlockingQueue<FileInfo> reqQ ,BlockingQueue<UploadResult> resQ);
}
